home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / C / Applications / Python 1.3 / source code / Include / mymath.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-12-17  |  470 b   |  17 lines  |  [TEXT/R*ch]

  1. /* On the 68K Mac, when using CFM (Code Fragment Manager),
  2.    <math.h> requires special treatment -- we need to surround it with
  3.    #pragma lib_export off / on...
  4.    This is because MathLib.o is a static library, and exporting its
  5.    symbols doesn't quite work...
  6.    XXX Not sure now...  Seems to be something else going on as well... */
  7.  
  8. #ifdef SYMANTEC__CFM68K__
  9. #pragma lib_export off
  10. #endif
  11.  
  12. #include <math.h>
  13.  
  14. #ifdef SYMANTEC__CFM68K__
  15. #pragma lib_export on
  16. #endif
  17.